﻿using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ManYan.Common
{
    public class ConfigHelper
    {
        public static Dictionary<string, string> dic = new Dictionary<string, string>();
        public string this[string key]
        {
            get
            {
                if (dic.ContainsKey(key))
                    return dic[key];
                else
                    return string.Empty;
            }
        }
        public string this[string key,string v]
        {
            get
            {
                return this[key];
            }
            set
            {
                dic[key] = v;
            }
        }
    }
}
